package com.citic.netty.common.protocol.request;

import com.citic.netty.common.protocol.Command;
import com.citic.netty.common.protocol.Packet;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

@JsonIgnoreProperties(ignoreUnknown = true)
public class LoginRequestPacket extends Packet{

	private static final long serialVersionUID = 1L;

    private String userId;
    
    private String username;

    private String password;

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	@Override
	public Byte getCommand() {
		return Command.LOGIN_REQUEST;
	}
}
